import main from '@/view/main'

export default {
    path: '/noticeManage',
    component: main,
    meta: {
        title: '平台公告'
    },
    children: [
        {
            path: '',
            name: 'noticeManageList',
            meta: {
                title: '平台公告'
            },
            component: _ => import('./notice-list')
        },
        {
            path: 'add',
            name: 'noticeManageAdd',
            meta: {
                title: '新建公告'
            },
            component: _ => import('./notice-add')
        },
        {
            path: ':id',
            name: 'noticeManageUpdate',
            meta: {
                title: '修改公告'
            },
            component: _ => import('./notice-edit')
        }
    ]
}
